class PurchaseReturnedDetail < ActiveRecord::Base
  belongs_to :purchase_returned
  belongs_to :product
  belongs_to :sale_order
  belongs_to :sale_order_detail
  
  #named_scope :find_by_purchase_order_id, lambda { |time_ago| { :conditions => ['created_at > ?', time_ago] }

end
